package com.hl.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;

/**
 * 会员资金对象 fund_flow
 * 
 * @author vv
 * @date 2025-08-05
 */
public class FundFlow extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 流水ID */
    private String flowId;

    /** 关联会员ID */
    @Excel(name = "关联会员ID")
    private Long memberId;

    /** 业务类型 */
    @Excel(name = "业务类型")
    private String changeType;

    public String getMemberName() {
        return memberName;
    }

    public void setMemberName(String memberName) {
        this.memberName = memberName;
    }

    /** 变动金额 */
    @Excel(name = "会员名")
    private String memberName;
    /** 变动金额 */
    @Excel(name = "变动金额")
    private Long changeAmount;

    /** 变动后账户余额 */
    private Long balanceAfter;

    /** 变更时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "变更时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date flowTime;

    /** 详情 */
    @Excel(name = "详情")
    private String description;

    public void setFlowId(String flowId) 
    {
        this.flowId = flowId;
    }

    public String getFlowId() 
    {
        return flowId;
    }

    public void setMemberId(Long memberId) 
    {
        this.memberId = memberId;
    }

    public Long getMemberId() 
    {
        return memberId;
    }

    public void setChangeType(String changeType) 
    {
        this.changeType = changeType;
    }

    public String getChangeType() 
    {
        return changeType;
    }

    public void setChangeAmount(Long changeAmount) 
    {
        this.changeAmount = changeAmount;
    }

    public Long getChangeAmount() 
    {
        return changeAmount;
    }

    public void setBalanceAfter(Long balanceAfter) 
    {
        this.balanceAfter = balanceAfter;
    }

    public Long getBalanceAfter() 
    {
        return balanceAfter;
    }

    public void setFlowTime(Date flowTime) 
    {
        this.flowTime = flowTime;
    }

    public Date getFlowTime() 
    {
        return flowTime;
    }

    public void setDescription(String description) 
    {
        this.description = description;
    }

    public String getDescription() 
    {
        return description;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("flowId", getFlowId())
            .append("memberId", getMemberId())
            .append("changeType", getChangeType())
            .append("changeAmount", getChangeAmount())
            .append("balanceAfter", getBalanceAfter())
            .append("flowTime", getFlowTime())
            .append("description", getDescription())
            .toString();
    }
}
